package com.canaan.business.domain.storehouse;

import com.canaan.common.annotation.TableName;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 库存水位管理对象 wms_stock_stage
 *
 * @author ruoyi
 * @date 2023-02-13
 */
@TableName("wms_stock_stage")
public class StockStage extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** no */
    private String no;

    /** 物料编号 */
    @Excel(name = "物料编号")
    private String productNo;

    /** 物料名称 */
    @Excel(name = "物料名称")
    private String productName;

    /** 物料类型 */
    @Excel(name = "物料类型")
    private String productType;

    /** 安全库存 */
    @Excel(name = "安全库存")
    private Long safetyStock;

    /** 最高库存 */
    @Excel(name = "最高库存")
    private Long maximumStock;

    /** 最低库存 */
    @Excel(name = "最低库存")
    private Long minimumStock;

    /** 是否删除：1是 0否 */
    private String delFlag;

    /** 排序 */
    private Integer sort;

    /** 是否查询物料编号为空 */
    private String productIsNull;

    /** 物料编码集合 */
    private List<String> productNos;

    public String getProductIsNull() {
        return productIsNull;
    }

    public void setProductIsNull(String productIsNull) {
        this.productIsNull = productIsNull;
    }

    public List<String> getProductNos() {
        return productNos;
    }

    public void setProductNos(List<String> productNos) {
        this.productNos = productNos;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setNo(String no)
    {
        this.no = no;
    }

    public String getNo()
    {
        return no;
    }
    public void setProductNo(String productNo)
    {
        this.productNo = productNo;
    }

    public String getProductNo()
    {
        return productNo;
    }
    public void setProductName(String productName)
    {
        this.productName = productName;
    }

    public String getProductName()
    {
        return productName;
    }
    public void setProductType(String productType)
    {
        this.productType = productType;
    }

    public String getProductType()
    {
        return productType;
    }
    public void setSafetyStock(Long safetyStock)
    {
        this.safetyStock = safetyStock;
    }

    public Long getSafetyStock()
    {
        return safetyStock;
    }
    public void setMaximumStock(Long maximumStock)
    {
        this.maximumStock = maximumStock;
    }

    public Long getMaximumStock()
    {
        return maximumStock;
    }
    public void setMinimumStock(Long minimumStock)
    {
        this.minimumStock = minimumStock;
    }

    public Long getMinimumStock()
    {
        return minimumStock;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setSort(Integer sort)
    {
        this.sort = sort;
    }

    public Integer getSort()
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("no", getNo())
            .append("productNo", getProductNo())
            .append("productName", getProductName())
            .append("productType", getProductType())
            .append("safetyStock", getSafetyStock())
            .append("maximumStock", getMaximumStock())
            .append("minimumStock", getMinimumStock())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("sort", getSort())
            .toString();
    }
}
